package com.ruijie.autotest.log.impl.parse;

import com.minelx.landisk.filesystem.core.File;

import java.io.IOException;

public class LinesParser {
	private final String nextLine;

	public LinesParser(String nextLine) {
		this.nextLine = nextLine;
	}

	public String[] parseLines(File valuesFile) throws IOException {
		return valuesFile.read().split(nextLine);
	}
}
